﻿<%@ Page Language="C#" MasterPageFile="~/Provider/CarInsurance/Liberty_CarInsurance.master" AutoEventWireup="true" CodeFile="ViewProviderCarBodyByCNG.aspx.cs" Inherits="provider_CarInsurance_ViewProviderCarBodyByCNG" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="provider_inner">
        <h1>
            Vehicle Type
        </h1>
        <div class="right_action">
            <asp:HyperLink runat="server" ID="lnkNewClaimInfo" NavigateUrl="~/Provider/CarInsurance/ProviderCarBodyByCNG.aspx"
                Text="New"></asp:HyperLink>
        </div>
        <asp:GridView ID="grvCarBody" runat="server" AllowPaging="True" AutoGenerateColumns="false"
            CellPadding="2" DataKeyNames="ProviderCarBodyId" EmptyDataText="There are no data records to display."
            DataSourceID="sqlDsNCD" CssClass="progridstyle" GridLines="None" PagerStyle-CssClass="pgrpro">
            <Columns>
                <asp:BoundField DataField="ProviderCarBodyId" InsertVisible="False" ReadOnly="True"
                    SortExpression="ProviderCarBodyId" Visible="False" />
                <asp:BoundField DataField="CXBody" HeaderText="CX Body" SortExpression="CXBody" />
                <asp:BoundField DataField="Body" HeaderText="Body" SortExpression="Body" />
                <asp:BoundField DataField="Rate" DataFormatString="{0:F}" HeaderText="Rate" SortExpression="Rate" />
                <asp:CheckBoxField DataField="Status" HeaderText="Status" SortExpression="Status" />
                <asp:BoundField DataField="ModifiedDate" HeaderText="Modified Date" SortExpression="ModifiedDate" />
                <asp:HyperLinkField HeaderText="BrowserInfo" Text="Edit" Target="_self" DataNavigateUrlFormatString="ProviderCarBodyByCNG.aspx?BID={0}"
                    DataNavigateUrlFields="ProviderCarBodyId"></asp:HyperLinkField>
            </Columns>
            <FooterStyle />
            <PagerStyle CssClass="pgrpro" />
            <SelectedRowStyle CssClass="progridover" />
            <HeaderStyle CssClass="progridheader" />
            <EditRowStyle />
            <AlternatingRowStyle CssClass="progridodd" />
            <RowStyle CssClass="progrideven" />
        </asp:GridView>
        <asp:SqlDataSource ID="sqlDsNCD" runat="server" ConnectionString="<%$ ConnectionStrings:CE_DBConnectionString %>"
            SelectCommand="sprocProviderCarBodySelectItemList" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:SessionParameter Name="ProviderCompanyId" SessionField="ProviderCompanyId" Type="Int64" />
            </SelectParameters>
        </asp:SqlDataSource>
        <asp:ImageButton OnClientClick="javascript:return confirm('Are you sure to go back?');"
            ID="ibtBack" runat="server" ImageUrl="~/Provider/images/buttons/back1.gif" OnClick="ibtBack_Click" />
    </div>
</asp:Content>
